package com.yesun.dcm.demo.consumer;

import com.yesun.dcm.demo.services.DemoService;

/**
 * @author chunmingdeng, 2017/10/20 Create.
 * @version 1.0
 * @copyright (c) YESUN. All Rights Reserved.
 * @description:
 */
public class DemoAction {

    private DemoService demoService;
    public void setDemoService(DemoService demoService) {
        this.demoService = demoService;
    }

    public void start() {

        System.out.println("start...");
        System.out.println(demoService.sayHello("yesun"));
    }


}
